﻿using RpcCentral.Model;
using RpcCentral.Model.DB;

namespace RpcCentral.DAL
{
    public interface IServerRunStateDAL
    {
        RunEnvironment GetEnvironments(long serverId);
        void AddRunState(ServerRunStateModel add);
        bool CheckIsReg(long id);
        bool SetServiceState(ServiceRunState[] states);
        bool UpdateRunState(long serverId, ServerRunStateSet datum);
    }
}